package me.lc.superDown.layer;

import me.lc.superDown.core.GameSystem;

import com.wiyun.engine.nodes.Layer;
import com.wiyun.engine.nodes.Sprite;
import com.wiyun.engine.opengl.Texture2D;
import com.wiyun.engine.types.WYPoint;

public class HelpLayer extends Layer {

	Sprite bg;

	public HelpLayer() {
		Texture2D tex = GameSystem.tex_help;
		bg = Sprite.make(tex);
		bg.setAnchor(0, 0);
		bg.setPosition(WYPoint.make(0, 0));
		bg.setScaleX(GameSystem.Screen_Width / tex.getWidth());
		bg.setScaleY(GameSystem.Screen_Height / tex.getHeight());
		addChild(bg);
	}
}
